#include <sstream>
#include <chrono>
#include <clocale>
   
#include "boost/date_time/gregorian/gregorian.hpp"
#include "boost/date_time/posix_time/posix_time.hpp"

using namespace std;
using namespace boost;
using namespace boost::gregorian;
using namespace boost::posix_time;

class time_fmt {
    public:
    static inline string now() {
        stringstream sout;
        ptime tp = microsec_clock::local_time();
        time_facet* tfacet = new time_facet("%Y年%m月%d日%H点%M分%S%F秒");
        sout.imbue(locale(sout.getloc(), tfacet));
        sout << tp;
        return sout.str();
    };
};